/**
 * 
 */
package com.sci.web.action.datareportseason.datacheck;

import javax.annotation.Resource;

import com.sci.web.action.util.BaseAction;
import com.sci.web.dao.SystemManageDao;

/**
 * @author  BaiFuyou
 * @date: Nov 12, 2011 9:12:40 AM
 */
public class GetAllWatingCheckEnterpriseAction extends BaseAction {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3577145120571079112L;
	@Resource
	private SystemManageDao systemManageDao;
	
	private int cityid;

	/**
	 * @return the cityid
	 */
	public int getCityid() {
		return cityid;
	}

	/**
	 * @param cityid the cityid to set
	 */
	public void setCityid(int cityid) {
		this.cityid = cityid;
	}
	@Override
	public String execute() throws Exception {
		// TODO Auto-generated method stub
		super.setContentType(super.JSON);
		super.outPrint(super.getJSONArrayString(systemManageDao.getWaitingCheckEnterprise(this.cityid)));
		return "json";
	}

}
